﻿
@{
    Layout = null;
}

<!DOCTYPE html>
<html>
<head>
    <title></title>
</head>
<body>
    <form id="form1">111
        <div style="width: auto; height: 98vh;">
            <!-- *********************PageOffice组件客户端JS代码*************************** -->
            <script type="text/javascript">
                function Save() {
                    var myObject = {};
                    myObject.id = 1;
                    var params = new URLSearchParams(myObject);
                    var saveUrl = "/DataBase/SaveDoc";
                    pageofficectrl.SaveFilePage = `${saveUrl}?${params.toString()}`;
                    pageofficectrl.WebSave();
                }


                function OnPageOfficeCtrlInit() {
                    pageofficectrl.AddCustomToolButton("保存", "Save", 1);
                }

            </script>
            <!-- *********************PageOffice组件的引用*************************** -->
            @Html.Raw(ViewBag.poCtrl)
        </div>
    </form>
</body>
</html>